```typescript index.ts
import { AdatreeConsent } from 'adatree-consent-typescript-sdk';

const adatreeConsent = new AdatreeConsent({
    bearerAuth: "BEARER_AUTH",
    // Machine to machine OAuth2 to access infosec token service
    clientId: "CLIENT_ID",
    clientSecret: "CLIENT_SECRET"
})
```